<?php


/**
 * Radcodes - SocialEngine Module
 *
 * @category   Application_Extensions
 * @package    Game
 * @copyright  Copyright (c) 2009-2010 Radcodes LLC (http://www.radcodes.com)
 * @license    http://www.radcodes.com/license/
 * @version    $Id$
 * @author     Vincent Van <vincent@radcodes.com>
 */
 
 
?>

<h2><?php echo $this->translate("Game Plugin") ?></h2>

<?php if( count($this->navigation) ): ?>
  <div class='tabs'>
    <?php
      // Render the menu
      //->setUlClass()
      echo $this->navigation()->menu()->setContainer($this->navigation)->render()
    ?>
  </div>
<?php endif; ?>


<?php if (Engine_Api::_()->getApi('settings', 'core')->game_categorymapping === null): ?>
    <div class="tip">
      <span>
        <?php echo $this->translate('Look like "Distributor Category Mapping" settings have not been updated properly. It is very likely due to caching enabled or not cleared while performing the installation. You can fix this by simply switch your site to run on "Development Mode", then back to "Production Mode" located on Admin Dashboard; and/or flush the cache under "Settings :: Performance & Caching" page.') ?>
      </span>
    </div>
<?php endif; ?>

<div class='clear'>
  <div class='settings'>
    <?php echo $this->form->render($this) ?>
  </div>
</div>  
<br />
<br />

<script type="text/javascript">
//$('game_import_live_log').hide();
$('game_import_live_log').setStyle('height','100px');
</script>